#pragma once;

#include "collision_primitive.h"

namespace TorPhysix
{
	// Cheap intersection tests that can be used in broad phase
	// TODO implement broad phase using a grid or oct-tree
	class IntersectionTests
	{
	public:

		static bool sphereAndHalfSpace(const CollisionSphere &sphere, const CollisionPlane &plane);

		static bool sphereAndSphere(const CollisionSphere &one, const CollisionSphere &two);

		static bool boxAndHalfSpace(const CollisionBox &box,const CollisionPlane &plane);
	};
}